{% extends "base.html" %} {% block title %}Смена пароля :: {{ user.get_profile }}{% endblock %} {% block content %} 
<form id="password_change" action="." method="post" class="simpleform">
    <p class="help">
       Введите старый пароль, потом дважды новый.
    </p>
    <div class="form-row">
       {% if form.old_password.errors %}{{ form.old_password.errors }}{% endif %} 
      <p class="aligned wide">
        <label class="required" for="id_old_password">Старый пароль:</label>{{ form.old_password }} 
      </p>
    </div>
    <div class="form-row">
       {% if form.new_password1.errors %}{{ form.new_password1.errors }}{% endif %} 
      <p class="aligned wide">
        <label class="required" for="id_new_password1">Новый пароль:</label>{{ form.new_password1 }} 
      </p>
    </div>
    <div class="form-row">
       {% if form.new_password2.errors %}{{ form.new_password2.errors }}{% endif %} 
      <p class="aligned wide">
        <label class="required" for="id_new_password2">Ещё раз:</label>{{ form.new_password2 }} 
      </p>
    </div>
  <div class="submit-row">
    <p>
      <input type="submit" value="Сохранить" />
    </p>
  </div>
</form>
 {% endblock %} 
